package com.ruoyi.system.mapper.financial;

import com.ruoyi.system.domain.db.cooperation.ExternalCooperation;
import com.ruoyi.system.domain.db.financial.FinancialEconomic;
import com.ruoyi.system.domain.dto.ExternalCooperationDto;
import com.ruoyi.system.domain.dto.FinancialEconomicDto;
import com.ruoyi.system.domain.vo.DateInfo;
import com.ruoyi.system.domain.vo.MonthInfo;
import com.ruoyi.system.domain.vo.MonthTypeInfo;

import java.util.Date;
import java.util.List;

public interface FinancialEconomicMapper {

    /**
     * 查询
     */
    public FinancialEconomicDto selectFinancialEconomicByOrderId(Long orderId);

    /**
     * 查询列表
     */
    public List<FinancialEconomicDto> selectFinancialEconomicList(FinancialEconomic financialEconomic);

    /**
     * 新增
     */
    public int insertFinancialEconomic(FinancialEconomic financialEconomic);

    /**
     * 修改
     */
    public int updateFinancialEconomic(FinancialEconomic financialEconomic);

    /**
     * 删除
     */
    public int deleteFinancialEconomicByOrderId(Long orderId);

    /**
     * 批量删除
     */
    public int deleteFinancialEconomicByOrderIds(List<Long> orderIds);

    public List<MonthInfo> getMonthInfoPositive(Date date);
    public List<MonthInfo> getMonthInfoNegative(Date date);
    public List<MonthTypeInfo> getMonthTypeInfoPositive(Date date);
    public List<MonthTypeInfo> getMonthTypeInfoNegative(Date date);
    public DateInfo getDateInfo(Date date);
}
